// Lang_37 [max-min values].nova // The application class. class MaxMinValuesApp { // Application class's "main" function. public static void main( String[] args ) { // Boolean class. String s1 = Boolean.toString( Boolean.FALSE ); String s2 = Boolean.toString( Boolean.TRUE ); Stream.writeLine( "Boolean:\t" + s1 + "\t\t\t" + s2 ); // Byte class. s1 = Byte.toString( Byte.MAX_VALUE ); s2 = Byte.toString( Byte.MIN_VALUE ); Stream.writeLine( "Byte:\t\t" + s1 + "\t\t\t" + s2 ); // Char class. s1 = Char.toString( Char.MAX_VALUE ); s2 = Char.toString( Char.MIN_VALUE ); Stream.writeLine( "Char:\t\t" + s1 + "\t\t\t" + s2 ); // Double class. s1 = Double.toString( Double.MAX_VALUE ); s2 = Double.toString( Double.MIN_VALUE ); Stream.writeLine( "Double:\t\t" + s1 + "\t\t" + s2 ); // Float class. s1 = Float.toString( Float.MAX_VALUE ); s2 = Float.toString( Float.MIN_VALUE ); Stream.writeLine( "Float:\t\t" + s1 + "\t\t" + s2 ); // Integer class. s1 = Integer.toString( Integer.MAX_VALUE ); s2 = Integer.toString( Integer.MIN_VALUE ); Stream.writeLine( "Integer:\t" + s1 + "\t\t" + s2 ); // Long class. s1 = Long.toString( Long.MAX_VALUE ); s2 = Long.toString( Long.MIN_VALUE ); Stream.writeLine( "Long:\t\t" + s1 + "\t" + s2 ); // SByte class. s1 = SByte.toString( SByte.MAX_VALUE ); s2 = SByte.toString( SByte.MIN_VALUE ); Stream.writeLine( "SByte:\t\t" + s1 + "\t\t\t" + s2 ); // Short class. s1 = Short.toString( Short.MAX_VALUE ); s2 = Short.toString( Short.MIN_VALUE ); Stream.writeLine( "Short:\t\t" + s1 + "\t\t\t" + s2 ); // UInteger class. s1 = UInteger.toString( UInteger.MAX_VALUE ); s2 = UInteger.toString( UInteger.MIN_VALUE ); Stream.writeLine( "UInteger:\t" + s1 + "\t\t" + s2 ); // ULong class. s1 = ULong.toString( ULong.MAX_VALUE ); s2 = ULong.toString( ULong.MIN_VALUE ); Stream.writeLine( "ULong:\t\t" + s1 + "\t" + s2 ); // UShort class. s1 = UShort.toString( UShort.MAX_VALUE ); s2 = UShort.toString( UShort.MIN_VALUE ); Stream.writeLine( "UShort:\t\t" + s1 + "\t\t\t" + s2 ); } }